package com.kuangxiaoyang.foodapp.bean;

public class FindOneBean {
    /**
     * msg : 成功
     * data : {"id":1,"name":"烤鸭","label":"烤鸭烤鸭烤鸭","icon":"1.png","price":88,"description":"烤鸭烤鸭烤鸭烤鸭烤鸭"}
     * success : true
     */
    private String msg;

    @Override
    public String toString() {
        return "FindOneBean{" +
                "msg='" + msg + '\'' +
                ", data=" + data +
                ", success=" + success +
                '}';
    }

    private DataBean data;
    private boolean success;

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public boolean isSuccess() {
        return success;
    }

    public void setSuccess(boolean success) {
        this.success = success;
    }

    public static class DataBean {
        /**
         * id : 1
         * name : 烤鸭
         * label : 烤鸭烤鸭烤鸭
         * icon : 1.png
         * price : 88
         * description : 烤鸭烤鸭烤鸭烤鸭烤鸭
         */
        private int id;
        private String name;
        private String label;
        private String icon;
        private float price;
        private String description;

        @Override
        public String toString() {
            return "DataBean{" +
                    "id=" + id +
                    ", name='" + name + '\'' +
                    ", label='" + label + '\'' +
                    ", icon='" + icon + '\'' +
                    ", price=" + price +
                    ", description='" + description + '\'' +
                    '}';
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getLabel() {
            return label;
        }

        public void setLabel(String label) {
            this.label = label;
        }

        public String getIcon() {
            return icon;
        }

        public void setIcon(String icon) {
            this.icon = icon;
        }

        public float getPrice() {
            return price;
        }

        public void setPrice(int price) {
            this.price = price;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }
    }
}

